* {
  margin: 0;
  padding: 0;
}

.nav {
  position: relative;
  width: 1190px;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.nav .item {
  cursor: pointer;
  flex-grow: 1;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: 0.1s;
}

.nav .cat {
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
  border: 3px solid red;
}

.nav .active {
  color: red;
}
